package com.zxq.common.middleware.lock;

import lombok.AllArgsConstructor;
import lombok.Getter;

@Getter
@AllArgsConstructor
public enum RedisMethodEnum {

    SET_NX(0, "setNx"),
    COMPARE_AND_DELETE(1, "compareAndDelete"),
    COMPARE_AND_SET(2,"compareAndSet"),
    ;

    private final int code;
    private final String field;

}